package aspectj.concert;

import org.springframework.stereotype.Component;

/**
 * 需要被代理的目标类
 */
@Component
public class Concert implements Performance {
    @Override
    public void perform() {
        System.out.println("perform...");
        //抛出异常后After和AfterThrowing会被调用，而AfterReturning不会被调用
        //throw  new RuntimeException();
    }

}
